package com.ytjj.qmyx.admin.model.response.channel;

import com.ytjj.qmyx.admin.model.response.goods.FreightTemplateResponse;
import com.ytjj.qmyx.admin.model.response.goods.ProductImgResponse;
import com.ytjj.qmyx.admin.model.response.goods.ProductSkuKeyResponse;
import com.ytjj.qmyx.admin.model.response.goods.ProductSpecResponse;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 *
 *  *
 **/
@Data
public class ChannelProductDetailResponse {

    @ApiModelProperty("商品Id")
    private Integer id;

    @ApiModelProperty("原商品名")
    private String warehouseName;

    @ApiModelProperty("店铺名称")
    private String warehouse;

    @ApiModelProperty("商品主图")
    private String productImg;

    @ApiModelProperty("场景图")
    private String sceneImg;

    @ApiModelProperty("商家ID")
    private Integer bankerId;

    @ApiModelProperty("商品品牌")
    private String brand;

    @ApiModelProperty("商家商品id")
    private Integer bankerProductId;

    @ApiModelProperty("商家品牌id")
    private Integer bankerBrandId;

    @ApiModelProperty("商品品牌id")
    private Integer brandId;

    @ApiModelProperty("商品名称")
    private String productName;

    @ApiModelProperty("专区ID")
    private Integer specialId;

    @ApiModelProperty("专区名称")
    private String specialName;

    @ApiModelProperty("一级分类ID")
    private Integer topCategoryId;

    @ApiModelProperty("二级分类ID")
    private Integer categoryId;

    @ApiModelProperty("三级分类ID")
    private Integer bottomCategoryId;

    @ApiModelProperty("一级分类")
    private String topCategoryName;

    @ApiModelProperty("二级分类")
    private String categoryName;

    @ApiModelProperty("三级分类")
    private String bottomCategoryName;

    @ApiModelProperty("商品介绍")
    private String descr;

    @ApiModelProperty("市场价（原价）")
    private BigDecimal originalPrice;

    @ApiModelProperty("成本价")
    private BigDecimal costPrice;

    @ApiModelProperty("直接购买价")
    private BigDecimal curPrice;

    @ApiModelProperty("售价")
    private BigDecimal price;

    @ApiModelProperty("长标题")
    private String longTitle;

    @ApiModelProperty("推荐文案")
    private String recommendDoc;

    @ApiModelProperty("推荐描述")
    private String recDescr;

//    @ApiModelProperty("描述（商品介绍） 重复")

    @ApiModelProperty("点击量")
    private Integer pv;

    @ApiModelProperty("评价总数")
    private Integer commentSum;

    @ApiModelProperty("好评率")
    private Integer goodRatio;

    @ApiModelProperty("销量字段")
    private String volumeStr;

    @ApiModelProperty("销量")
    private Integer volume;

    @ApiModelProperty("费率")
    private BigDecimal rate;

    @ApiModelProperty("是否广告")
    private Integer isAdvert;

    @ApiModelProperty("是否隐藏")
    private Integer isHide;

    @ApiModelProperty("官网栏目")
    private Integer bankerColumnId;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("所属平台(平台数据)")
    private String platformData;

    @ApiModelProperty(value = "库存预警")
    private Integer stockWarning;

//    @ApiModelProperty(value = "测评库存")
//    private Integer stockEvaluation;

//    @ApiModelProperty("活动素材URL （没找到）")
    @ApiModelProperty("上下架状态")
    private Integer status;

    @ApiModelProperty("下架描述")
    private String downRemark;

    @ApiModelProperty("商品视频")
    private String productVideo;

    @ApiModelProperty("商品视频")
    private String productVideoCover;

    @ApiModelProperty("款号")
    private String typeno;

    @ApiModelProperty("助力人数")
    private Integer helpNum;

    @ApiModelProperty("活动主图")
    private String activityMainImg;

    @ApiModelProperty(value = "sku")
    private List<ProductSkuKeyResponse> skuKey;

    @ApiModelProperty(value = "轮播图")
    private List<ProductImgResponse> bannerList;

    @ApiModelProperty(value = "详情图")
    private List<ProductImgResponse> infoList;

    @ApiModelProperty(value = "规格")
    private List<ProductSpecResponse> spec;

    private Integer addressId;//退货地址id

    @ApiModelProperty(value = "测评类型 1-普通 2-专享")
    private Integer appraisalType;

    /**
     * 是否控价 0-否 1-是
     */
    private Integer controlPrice;

    /**
     * 是否控价 原因
     */
    private String controlReason;

    /**
     * 商品类型 1国内 2国外
     */
    private Integer isExit;

    /**
     * 邮寄类型（mailType）：一般贸易，直邮，保税
     */
    private String mailType;

    /**
     * 邮寄备注：mailNote
     */
    private String mailNote;

    //运费模板
    private FreightTemplateResponse freightTemplateResponse;

    /**
     * 供应链商品id
     */
    private Integer supplyProductId;

    /**
     * 虚拟库存( h5销售渠道使用)
     */
    private Integer virtualStock;

    /**
     * 商品详情图片
     */
    private String infoImg;

    /**
     * 运费模板id
     */
    private Integer freightId;

    /**
     * 供应商模板id
     */
    private Integer supplyFreightId;

    /**
     * 供应商模板
     */
    private FreightTemplateResponse supplyFreightTemplateResponse;

    /**
     * 使用模板类型：1-销售渠道模板,2-供应链模板
     */
    private Integer useType;


}

